var express = require('express')

var app = express()

app.get('/abc', function (req, res, next) {
    console.log('abc')
    // req.foo = 'bar'
    req.body = {}
    next()
})

app.get('/abc', function (req, res, next) {
    // console.log(req.foo) // 打印bar
    console.log(req.body) // 打印{}
    console.log('abc 2')
})

app.listen(3000, function () {
    console.log('app is running at port 3000...')
})